1. /* sdmdstcr.cpp by K.Tsuru */
  2. // function ID = 35
  3. /*********************************************************
  4. SDouble classes
  5. It provides the destructor.
  6. **********************************************************/
  7. #ifndef SN_H
  8. #include "sn.h"
  9. #endif
  10. // function ID = 35
  11. // destructor
  12. SDouble::~SDouble(){
  13. // changed by constructor
  14. if(PushedCD() & REDUCE_MAX_SIZE_DISABLE){
  15. PushCD( PushedCD() & ~REDUCE_MAX_SIZE_DISABLE);
  16. reduceMaxSize = ENABLE;
  17. if( PushedCD() & SD_PUSH ){ // Check CutDown(POP) by PointFree() ?
  18. PushCD(PushedCD() & ~SD_PUSH);
  19. CutDown(POP);
  20. }
  21. }
  22. //in SDecimal class, rdxExp != 0. Maybe this statement is not necessary.
  23. if((Type() == BIN_DEC) && rdxExp) SetError(RADIX_ERR, "~SDouble", 35);
  24. // fixedPointMode was changed by TempPointFree();
  25. if(PushedCD() & TEMP_FREE) PointModePop();
  26. // changed by FixedPoint()
  27. if(PushedCD() & (CH_FE | SD_PUSH)) PointFree();
  28. }

sdmdstcr.cpp : last modifiled at 2016/01/20 10:36:24(924 bytes)
created at 2017/10/07 10:21:15
The creation time of this html file is 2017/10/07 10:30:03 (Sat Oct 07 10:30:03 2017).